﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YXShop.Model.Stocks;

namespace YXShop.IDAL.Stocks
{
    public interface IOrderInfo
    {
        int Add(OrderInfo model);
        int Update(OrderInfo model);
        void Delete(int id);
        void DeleteAll(string ids);
        OrderInfo GetModelById(int id);
        int GetPriceByOrderId(int orderid);
        IList<OrderInfo> GetModelsByOrderId(int orderid);
        ChangeHope.DataBase.DataByPage GetList(string strWhere);
        List<OrderInfo> GetListOrderInfoByWhere(string where);
        ChangeHope.DataBase.DataByPage GetList(string orderfield, int pagesize, string Conditions);
    }
}
